package com.auth.test.generator.pojo;

import com.auth.test.generator.pojo.BaseId;
import com.easyCode.sqlBuilder.constants.KeyTypeConstants;
import com.easyCode.sqlBuilder.oop.Filed;
import com.easyCode.sqlBuilder.oop.Key;
import com.easyCode.sqlBuilder.oop.Table;

/**
 * @author 大忽悠
 * @create 2023/2/8 21:46
 */
@Table(comment = "角色权限表")
public class RoleAuthority extends BaseId {
    @Filed(comment = "角色id")
    @Key(keyType = KeyTypeConstants.KEY)
    private Integer rid;
    @Filed(comment = "权限id")
    private Integer aid;
}
